#include"Account.h"
#include"SavingsAccount.h"
#include"CheckingAccount.h"
#include<iostream>
using namespace std;

int main(){
    Account wu(10000);
    cout<<wu.getBalance()<<endl;
    cout<<"---------------------------"<<endl;
    SavingsAccount chuan(10000,0.5);
    chuan.CalculateInterest(0.5);
    cout<<chuan.getBalance()<<endl;
    cout<<"---------------------------"<<endl;
    CheckingAccount l(5,10);
    l.debit(5);
    cout<<l.getBalance()<<endl;                                                                  
    cout<<"---------------------------"<<endl;
    return 0;
}